package com.valley.dream.tihai.view.fragment;

import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import androidx.fragment.app.Fragment;

import com.valley.dream.tihai.R;


public class MeFragment extends Fragment {

    View root;


    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        Log.e("valley", "onCreate: ");
    }

    @Override
    public void onResume() {
        super.onResume();
        Log.e("valley", "onResume: ");
    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        if (root == null){
            root = inflater.inflate(R.layout.fragment_me, container, false);
        }
        Log.e("valley", "onCreateView: ");
        return root;
    }
}